package com.fuluwa.domain.usercenter.model;

import java.util.Date;

import javax.persistence.Embeddable;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.fuluwa.domain.file.model.FileInfo;
import com.fuluwa.domain.usercenter.model.UserProfile.GenderType;

@Embeddable
public class UserBasicInfo {
	private String chineseName;
	private String englishName;
	private String nickName;
	
	private String blood;
	private String constellation;
	private String chineseZodiac;
	
	@Enumerated(EnumType.STRING)
	private GenderType gender = GenderType.NONE;
	
	@Temporal(TemporalType.DATE)
	private Date birthday;
	private Integer age=0;
	


	@ManyToOne
	@JoinColumn(name="file_id")
	private FileInfo picture;



	public String getChineseName() {
		return chineseName;
	}



	public String getEnglishName() {
		return englishName;
	}



	public String getNickName() {
		return nickName;
	}



	public String getBlood() {
		return blood;
	}



	public String getConstellation() {
		return constellation;
	}



	public String getChineseZodiac() {
		return chineseZodiac;
	}



	public GenderType getGender() {
		return gender;
	}



	public Date getBirthday() {
		return birthday;
	}



	public Integer getAge() {
		return age;
	}



	public FileInfo getPicture() {
		return picture;
	}
}
